<template>
  <div class="index">
    <el-container class="el">
      <el-aside :width="menuwidth" class="aside">
        <leftmenu></leftmenu>
      </el-aside>
    <el-container>
      <el-header style="padding: 0px;">
        <top></top>
      </el-header>
      <el-main class="main" style="padding: 0px;">
        <breadlist></breadlist>
        <router-view></router-view>
      </el-main>
    </el-container>
    </el-container>
  </div>
</template>

<script>
import leftmenu from '@/components/leftmenu.vue'
import top from '@/components/top.vue'
import breadlist from '@/components/breadlist.vue'
export default {
    name:'index',
    data(){
      return {
        menuwidth:'200px'
      }
    },
    components:{
        leftmenu,
        top,
        breadlist
    }
}
</script>

<style>
.index .el{
  position:absolute;
  top:0;left:0; 
  width:100%;height:100%;
  background-color: rgb(242, 248, 252);
}
.aside{
  background-color: #343638;
}
</style>